package cn.chencaiju.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.chencaiju.domain.Product;

public interface ProductMapper {

	List<Product> findPage(@Param("start")int start,@Param("size")int size);
	
	@Select("select count(*) from products")
	int getCount();

}
